.ui5-barcode-scanner-dialog-root::part(content) {
	display: flex;
	flex-direction: column;
	padding: .4375rem;
}

.ui5-barcode-scanner-dialog-video-wrapper {
	position: relative;
	min-height: 0;
}

/* video */
.ui5-barcode-scanner-dialog-video-wrapper,
.ui5-barcode-scanner-dialog-video,
.ui5-barcode-scanner-dialog-overlay {
	height: 100%;
	width: 100%;
}

.ui5-barcode-scanner-dialog-video {
	object-fit: cover;
}

.ui5-barcode-scanner-dialog-overlay {
	display: none;
	position: absolute;
	inset: 0;
}

/* footer */
.ui5-barcode-scanner-dialog-footer {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	padding-top: .4375rem;
}

/* busy indicator */
.ui5-barcode-scanner-dialog-busy {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}

.ui5-barcode-scanner-dialog-busy:not([active]) {
	display: none;
}